package com.cryptoneedle.garden;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * <p>description:  </p>
 *
 * @author CryptoNeedle
 * @date 2025-07-24
 */
@SpringBootApplication(scanBasePackages = {
        "com.cryptoneedle.garden.init",
        "com.cryptoneedle.garden.service.garden.config",
})
@EnableAsync
@EntityScan(basePackages = {
        "com.cryptoneedle.garden.entity",
})
@EnableJpaRepositories(basePackages = {
        "com.cryptoneedle.garden.repository.garden.config",
})
public class DataGradenInitApplication {

    public static void main(String[] args) {
        SpringApplication.run(DataGradenInitApplication.class);
    }
}